package com.mijie.homi.common.constant;

public class MCKey {

	public static String KEY_PREFIX = "homi_";
	public static int SESSION_TIMEOUT = 60*30;//30 minute
	public static String SESSION = "sess_";
	public static String TOKEN_BY_USERID = "token_userId:";
	public static String ONLINE_USER_AMOUNT = "online_user_amount_";
	public static String MAX_ONLINE_USER_AMOUNT = "max_online_user_amount_";
	public static String MAX_ONLINE_STAT_AT = "max_online_stat_at_";
	public static String USER_BY_ID = "user_id:";
	public static String USER_EXTINFO_BY_ID = "userExt:";
	public static String USER_SETTING = "userSetting:";
	public static String USER_PRIVACY = "userPrivacy:";
	public static int USER_CACHE_TIMEOUT = 60*15; //15 minute
	
	public static String DEVICEINFO = "deviceInfo_id:";
	public static int DEVICEINFO_CACHE_TIMEOUT = 60*10; //15 minute
	
	
	public static String TOPIC_BY_ID = "topic:";
	public static String TOPIC_OPTIONS = "options_topicId:";
	public static String TOPICID_BY_OPTIONID = "topicid_optionId:";
	
	public static int TOPIC_CACHE_TIMEOUT = 60*10; //10 minute
	
	public static String CHAT_BLOCKING_MESSAGE = "blockingMessage:";
	public static int CHAT_CACHE_TIMEOUT =  60*10; //10 minute
	
	public static String MOOD_AMOUNT = "moodAmount:"; 
	public static int MOOD_CACHE_TIMEOUT =  60*10; //10 minute
	
}
